 package com.metamech.jabber;

public class Presence {

	boolean available;
	String show;
  	String status;
  	String priority;
  	
  	static public final String SHOW_CHAT = "chat";
  	static public final String SHOW_AWAY = "away";
  	static public final String SHOW_XA   = "xa";
  	static public final String SHOW_DND  = "dnd";
  	
  	public boolean isAvailable(){
  		return available;
  	}
  	public void setAvailable(boolean isAvailable){ 
  		available = isAvailable;
  	}
  	  	
  	public String getShow(){ 
  		return show;    
  	}
  	public void setShow(String newShow){ 
  		show = newShow; 
  	}

  	public String getStatus(){ 
  		return status;      
  	}
  	public void setStatus(String newStatus){ 
  		status = newStatus; 
  	}

  	public String getPriority(){ 
  		return priority;        
  	}
  	public void setPriority(String newPriority) { 
  		priority = newPriority; 
  	}
}